<?php

namespace Home\Controller;

use Home\Model\GoodsModel;
use Think\Controller;


class DemoController extends Controller {

    public function index(){

//       echo __ROOT__;
//       echo __APP__ ;
//        echo __MODULE__;
//        echo __CONTROLLER__;
//        echo __ACTION__ ;
//        echo __SELF__;
        echo ACTION_NAME;
    }

    public function aa(){
        $m = new GoodsModel();
        var_dump($m->getcartnum());exit;
    }




  

    

   

}